<?= $this->partial('admin-partials/header.phtml') ?>

<body>
<div id="body-wrapper">
    <?= $this->partial('admin-partials/sidebar.phtml', array('view' => $this)) ?>

    <div id="main-content">
        <!--            	--><?//= $this->partial('admin-partials/messages.phtml', array('messages'=>$this->messages)) ?>
        <? foreach ($this->messages as $key => $value): ?>
        <? if (count($value)): ?>
            <div class="notification <?= $key ?> png_bg">
                <ul>
                    <? foreach ($value as $msg): ?>
                    <li><?= $msg ?></li>
                    <? endforeach; ?>
                </ul>
            </div>
            <? endif; ?>
        <? endforeach; ?>
        <?= $this->layout()->content;?>
    </div>
</div>
</body>

<?= $this->partial('admin-partials/footer.phtml') ?>
<!-- aaa -->